package com.cqupt.springframework.context;

import com.cqupt.springframework.beans.BeansException;

/**
 * @author Zhy
 * @date 2021/6/19 21:35
 */
public interface ConfigurableApplicationContext extends ApplicationContext {

    /**
     * 刷新容器
     * @throws BeansException
     */
    void refresh() throws BeansException;

    void registerShutdownHook();

    void close();
}
